const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.UserInfo.avatar, // 头像
  name: state => state.user.UserInfo.name, // 用户名
  id: state => state.user.UserInfo.id // 用户id
}
export default getters
